package com.bj.jiufu.base;

import net.sf.json.JSONObject;

/**
 * Created by susen-pc on 2016/9/1.
 * 返回参数
 */

public class RespParam extends BaseEntity{
    /**
     * 是否成功
     */
    public boolean success = true;
    /**
     * 异常信息
     */
    public String errorMsg = "";
    /**
     * 返回的数据
     */
    public Object retData;


    public void setError(String errorMsg) {
        this.success = false;
        this.errorMsg = errorMsg;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getErrorMsg() {
        return errorMsg;
    }

    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }

    public Object getRetData() {
        return retData;
    }

    public void setRetData(Object retData) {
        this.retData = retData;
    }

}
